// place your custom styles here

// 修复移动端显示问题
@media (max-width: 719px) {
  .reveal-viewport {
    padding-top: 0 !important;
  }
  
  .reveal {
    padding-top: 0 !important;
  }
  
  .reveal .slides {
    padding-top: 0 !important;
  }
  
  .reveal .slides section {
    padding-top: 0 !important;
  }
}

// 优化幻灯片样式
.reveal {
  .slides {
    section {
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
      h1, h2, h3 {
        margin-bottom: 1em;
      }
      
      ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        
        li {
          margin: 0.5em 0;
        }
      }
    }
  }
}

// 优化动画效果
.fragment.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  
  &.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

// 优化背景渐变
.reveal .slides section {
  &[data-background] {
    background-size: cover;
    background-position: center;
  }
}
